﻿using System;
namespace hf.Model
{
	/// <summary>
	/// admin:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class admin
	{
		public admin()
		{}
		#region Model
		private int _id;
		private string _uid;
		private string _pwd;
		private int _logincount;
		private DateTime _lastdatetime;
		private string _lastloginip;
        public int CityID { get; set; }
		/// <summary>
		/// 管理员编号
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 管理员帐号
		/// </summary>
		public string UID
		{
			set{ _uid=value;}
			get{return _uid;}
		}
		/// <summary>
		/// 管理员密码
		/// </summary>
		public string PWD
		{
			set{ _pwd=value;}
			get{return _pwd;}
		}
		/// <summary>
		/// 登录次数
		/// </summary>
		public int LoginCount
		{
			set{ _logincount=value;}
			get{return _logincount;}
		}
		/// <summary>
		/// 上次登录时间
		/// </summary>
		public DateTime LastDatetime
		{
			set{ _lastdatetime=value;}
			get{return _lastdatetime;}
		}
		/// <summary>
		/// 上次登录IP
		/// </summary>
		public string LastLoginIP
		{
			set{ _lastloginip=value;}
			get{return _lastloginip;}
		}
		#endregion Model

	}
}

